package tt.dz.entity.base;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name = "oms_service_splitratio")
public class OmsServiceSplitRatioEntity
{
	@Id
	@Column(name = "charger_id")
	private String chargerId;
	@Column(name = "service_no")
	private String serviceNo;
	@Column(name = "scheme_no")
	private int schemeNo;
	@Column(name = "station_id")
	private String stationId;
	@Column(name = "valid_flag")
	private int validFlag;



	public String getChargerId()
	{
		return chargerId;
	}

	public void setChargerId(String chargerId)
	{
		this.chargerId = chargerId;
	}

	public String getServiceNo()
	{
		return serviceNo;
	}

	public void setServiceNo(String serviceNo)
	{
		this.serviceNo = serviceNo;
	}

	public int getSchemeNo()
	{
		return schemeNo;
	}

	public void setSchemeNo(int schemeNo)
	{
		this.schemeNo = schemeNo;
	}

	public String getStationId()
	{
		return stationId;
	}

	public void setStationId(String stationId)
	{
		this.stationId = stationId;
	}

	public int getValidFlag()
	{
		return validFlag;
	}

	public void setValidFlag(int validFlag)
	{
		this.validFlag = validFlag;
	}

	public class KeyColumns implements Serializable
	{
		private String chargerId;
		private String serviceNo;

		public String getChargerId()
		{
			return chargerId;
		}

		public void setChargerId(String chargerId)
		{
			this.chargerId = chargerId;
		}

		public String getServiceNo()
		{
			return serviceNo;
		}

		public void setServiceNo(String serviceNo)
		{
			this.serviceNo = serviceNo;
		}
	}
}
